pub mod config_main;
pub mod metalink;
pub mod repo_conf;
pub mod repomd;
pub fn parse_string_to_vec(s: &str) -> Option<Vec<String>> {
    let r = s
        .split(&[' ', ',', ';'])
        .map(|x| x.split_ascii_whitespace().collect::<Vec<_>>())
        .flatten()
        .map(String::from)
        .collect::<Vec<_>>();
    if r.len() > 0 {
        Some(r)
    } else {
        None
    }
}
